# catch.py
import requests
response=requests.get('http://www.immoc.com')
content=str(response.content,encoding='utf-8')
content_list=content.split('\n')
len(content_list)
for line in content_list:
    if 'href' in line:
        if 'www' in line:
            print(line.strip())
